	//////////////////////////////////////
	//                                  //
	//           dynamic.js             // 
	//                                  //
	//////////////////////////////////////
	
	////////////////////////////////////////
	// This file contains course specific //
	// functions for dynamically writing  //
	// to the Content window.             //
	////////////////////////////////////////
	
	// This function will display the topics
	// for a section in the Content frame.
	// The topics will be from the section number
	// passed as an argument.  This function is
	// called when a SECTION button is clicked.
	function showTopics(sec)
	{
		if (disableForContent)
		{
			if (!confirmLeave()) return;
			else disableForContent = false;
		}	

		pageUnloaded();
		killTimers();
		section = sec;
		disableNavigationButtons();
		page = 1;

		parent.Content.location = "../shared/showtopics.html";
	}

	
	// This function displays the page numbers and titles
	// for all pages in the current topic.  It is called
	// when the GOTO button is clicked.
	function showPages()
	{
		if (disableForContent)
		{
			if (!confirmLeave()) return;
			else disableForContent = false;
		}	

		killTimers();
		
		if (!disableFlag)
		{
			disableNavigationButtons();
			disableHistoryButton();
			pageUnloaded();
			parent.Content.document.location = "shared/showpages.html";
		}
	}


	function showMap()
	{
		if (disableForContent)
		{
			if (!confirmLeave()) return;
			else disableForContent = false;
		}	

		if ( navigator.appName == 'Netscape'  ) 
			pageUnloaded();
		var theTopic = topic + '';
		
		disableNavigationButtons();
		disableHistoryButton();
					
		parent.Content.location = "coursemap.html";
		
	}	

	function showMap2()
	{
		if (disableForContent)
		{
			if (!confirmLeave()) return;
			else disableForContent = false;
		}	

		if ( navigator.appName == 'Netscape'  ) 
			pageUnloaded();
		var theTopic = topic + '';
		
		disableNavigationButtons();
		disableHistoryButton();
					
		parent.Content.location = "../coursemap.html";
		
	}	

	// This function displays the history list.
	function showHistory()
	{
		if (disableForContent)
		{
			if (!confirmLeave()) return;
			else disableForContent = false;
		}	

		if ( navigator.appName == 'Netscape'  ) 
			pageUnloaded();
		var theTopic = topic + '';
		
		disableNavigationButtons();
		disableHistoryButton();
					
		parent.Content.location = "shared/showhistory.html";

	}

